<template>
	<!-- / -->
	<view style="height: 100vh;">
		<view class="status_bar"></view>
		<view class="top_bg">
			<view class="nav_back">
				<Header title="注销账户"></Header>
				<!-- 提示 -->
				<view class="title_t">
					<view class="top">
						注销账号无法恢复，请谨慎操作！！
					</view>
					<view class="bot">
						如误操作请及时联系客服！
					</view>
				</view>
				<view class="bottom_btn">
					<view class="left_btn button" @click="logout()">
						确认注销
					</view>
					<view @click="$p.back()" class="right_btn button">
						返回
					</view>
				</view>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		methods: {
			logout() {
				this.$u.toast('注销成功')
			}
		}
	}
</script>

<style lang="scss" scoped>
	* {
		box-sizing: border-box;
	}

	.bottom_btn {
		margin-top: 30rpx;
		display: flex;
		justify-content: center;
		align-items: center;

		.left_btn {
			width: 270rpx;
			height: 83rpx;
			background: #A1A1A1;
			border-radius: 25rpx;
			font-size: 27rpx;
			font-family: SourceHanSansCN-Bold, SourceHanSansCN;
			font-weight: bold;
			color: #343434;
			line-height: 83rpx;
			text-align: center;
			margin-right: 20rpx;
		}

		.right_btn {
			width: 270rpx;
			height: 83rpx;
			background: linear-gradient(360deg, #8BEAD1 0%, #70D7D3 100%);
			border-radius: 25rpx;
			font-size: 27rpx;
			font-family: SourceHanSansCN-Bold, SourceHanSansCN;
			font-weight: bold;
			color: #343434;
			line-height: 83rpx;
			text-align: center;
		}
	}

	.title_t {
		text-align: center;

		.top {
			font-size: 31rpx;
			font-family: SourceHanSansCN-Medium, SourceHanSansCN;
			font-weight: 600;
			color: #131314;
			margin-bottom: 10rpx;
		}

		.bot {
			font-size: 27rpx;
			font-family: SourceHanSansCN-Medium, SourceHanSansCN;
			font-weight: 500;
			color: #343434;
		}
	}

	.btn {
		height: 114rpx;
		line-height: 114rpx;
		text-align: center;
		width: 85%;
		background: linear-gradient(360deg, #8BEAD1 0%, #70D7D3 100%);
		border-radius: 36rpx;
		margin: 30rpx auto;
		font-size: 33rpx;
		font-family: SourceHanSansCN-Bold, SourceHanSansCN;
		font-weight: bold;
		color: #343434;
	}

	.active {
		background: #a1a1a1;
	}

	.oneINp {
		margin-top: 30rpx;
		position: relative;
		padding: 0 40rpx;

		.inp {
			height: 140rpx;
			line-height: 140rpx;
			color: #000;
			width: 100%;
			padding-left: 200rpx;
			background-color: #f7f7f7;
			border-radius: 25rpx;
		}

		.text {
			position: absolute;
			top: 50%;
			transform: translateY(-50%);
			left: 7%;

			font-size: 27rpx;
			font-family: SourceHanSansCN-Medium, SourceHanSansCN;
			font-weight: 600;
			color: #131316;
		}
	}

	.towINp {
		position: relative;
		padding: 0 40rpx;
		margin-top: 30rpx;

		.inp {
			height: 140rpx;
			line-height: 140rpx;
			color: #000;
			width: 100%;
			padding-left: 200rpx;
			background-color: #f7f7f7;
			border-radius: 25rpx;
		}

		.text {
			position: absolute;
			top: 50%;
			transform: translateY(-50%);
			left: 7%;

			font-size: 27rpx;
			font-family: SourceHanSansCN-Medium, SourceHanSansCN;
			font-weight: 600;
			color: #131316;
		}
	}

	.top_bg {
		height: 380rpx;
		width: 100%;
		position: relative;
		top: 0;
		left: 0;
		background: linear-gradient(90deg, #CCDCFF 0%, #EEF2FD 49%, #FCE2F7 100%);

		.nav_back {

			.title {
				display: flex;
				align-items: center;
				justify-content: center;
				margin-top: 30rpx;

				.zfb {
					width: 83rpx;
					height: 83rpx;
					margin-right: 50rpx;

				}

				.right_tit {
					font-size: 27rpx;
					font-family: PingFang-SC-Medium, PingFang-SC;
					font-weight: 500;
					color: #131314;
				}
			}

			position: relative;

			.yuemx {
				position: absolute;
				right: 8%;
				top: 37%;
				font-size: 27rpx;
				font-family: SourceHanSansCN-Medium, SourceHanSansCN;
				font-weight: 500;
				color: #343434;
				z-index: 999;
			}
		}
	}
</style>